
target("hilog")
    set_kind("$(kind)")
	add_files("hilog.cpp","hilog_printf.cpp")
	add_files("vsnprintf/*.c")
	add_files("utils/*.cpp")
	add_includedirs("include","vsnprintf/include","utils/include")
	add_includedirs("../include")
	add_includedirs("$(projectdir)/interfaces/native/innerkits/include")
	add_headerfiles("$(projectdir)/interfaces/native/innerkits/include/*.h")
	add_headerfiles("$(projectdir)/interfaces/native/innerkits/include/hilog/*.h",{prefixdir="hilog"})
	add_headerfiles("$(projectdir)/interfaces/native/innerkits/include/hilog_base/*.h",{prefixdir="hilog_base"})
	set_languages("c++17")
    add_defines("__LINUX__")

	add_packages("boundscheck")
